home *** CD-ROM | disk | FTP | other *** search
- $outvar(devnull)
- <!--------------------------------------------------------------------
- po/shipping.infile - Blend infile used by both client and server
- to produce the Shipping page of the WebPO order
- system. Pulled into po.blend.
-
- 1996-09-25 RKJ-000 Original version
- -->
- $endout
- <TABLE CELLPADDING="2">
- <TR VALIGN="Top">
- <TD><IMG src="$BASEHREF$images/catalog.gif" alt="Catalog Icon" border=0 height=100 width=100><BR>
- <IMG SRC="$poimage$webpo.gif" WIDTH="100" HEIGHT="23">
- </TD>
- <TD valign=middle>
- <H2>
- $CompanyName Order Shipping $if($InputError)Error $endif $if($equal($Preview,"1")) PREVIEW $endif
- </H2>
- </TD>
- </TR>
- </TABLE>
- $if($equal($Preview,"1"))
- <h5>
- NOTE- This is sample data. For this preview, we've created a
- mock-up Shipping page using your catalog items and sample
- user input. The quantities entered and shipping information are
- for preview purposes only.
- </h5>
- $endif
-
- $if($InputError)
- <h2>
- <FONT COLOR="#EE0000" SIZE=+1>A required field is missing, please verify these items in your order:
- <UL> $if($not($CuName)) <li>Company or Customer Name $endif
- $if($not($phone)) <li>Phone number $endif
- $if($not($email)) <li>E-mail address $endif
- </ul>
- </FONT>
- </h2>
- $endif
- $if($equal($preview,"true"))
- <form method="GET" action="#Top">
- $else
- $if($and($eq($CreditCardEnabled,1),$UserSSL))
- <form method="POST" action="$SecureServer$$SCRIPT_NAME$">
- $else
- <form method="POST" action="$HttpServer$$SCRIPT_NAME$">
- $endif
- $endif
- <input type=hidden name="blender" value="$blender$">
- <input type=hidden name="UserSSL" value="$UserSSL$">
- <input type=hidden name="CompanyShortName" value="$CompanyShortName$">
- $set(ChangeValue,"Disallow")
-
- <CENTER>
- <P>
-
- </CENTER>
- <P>
- <FONT SIZE=+1><FONT SIZE=+1>Please Enter Your Account Information</FONT></FONT><BR>
- <LI>If you do not have an account with us yet, we
- will contact you once we receive this order
- <LI>Fields with an <FONT COLOR="#EE0000">*</FONT> are mandatory.
- <P>
- <TABLE CELLPADDING="2">
- <TR>
- <TD><FONT COLOR="#EE0000" SIZE=+1>
- $if($and($InputError,$not($CuName)))
- <blink>*</blink>Company or Customer Name</FONT>:</TD>
- $else
- *</FONT>Company or Customer Name:</TD>
- $endif
- <TD><INPUT TYPE="text" NAME="CuName" value="$CuName$" size="40"></TD></TR>
- <TR>
- <TD>Contact Name:</TD>
- <TD><INPUT TYPE="text" NAME="Contact" value="$Contact$" size="40"></TD></TR>
-
- <TR><TD>Customer ID:</TD>
- <TD><INPUT TYPE="text" NAME="CustomerID" value="$CustomerID$" size="40"></TD>
- </TR>
- <TR>
- <TD><FONT COLOR="#EE0000" SIZE=+1>
- $if($and($InputError,$not($phone)))
- <blink>*</blink>Phone:</FONT></TD>
- $else
- *</FONT>Phone:</TD>
- $endif
- <TD><INPUT TYPE="text" NAME="phone" value="$phone$" size="25"></TD>
- </TR>
- <TR>
- <TD><FONT COLOR="#EE0000" SIZE=+1>
- $if($and($InputError,$not($email)))
- <blink>*</blink>E-mail</FONT>:</TD>
- $else
- *</FONT>E-mail:</TD>
- $endif
- <TD><INPUT TYPE="text" NAME="email" value="$email$" size="25"></TD>
- </TR>
-
- </TABLE>
- <P>
- <TABLE>
- <TR>
- <TD COLSPAN=4 align=left><FONT SIZE=+1>Please Enter Shipping Instructions</FONT><P></TD>
- </TR>
- <TR>
- <TD>Address 1:</TD>
- <TD COLSPAN=3><INPUT TYPE="text" NAME="address1" value="$address1$" SIZE="50"></TD>
- </TR>
- <TR>
- <TD>Address 2:</TD>
- <TD COLSPAN=3><INPUT TYPE="text" NAME="address2" value="$address2$" SIZE="50"></TD>
- </TR>
- <TR>
- <TD colspan=1>City:</TD>
- <TD colspan=3><INPUT TYPE="text" NAME="City" value="$City$"></TD></TR>
- <TR>
- <TD colspan=1>State/Province: </td>
-
- <td colspan=3><INPUT TYPE="text" NAME="State" value="$State$" MAXLENGTH="15"></TD>
- </TR>
- <TR>
- <TD>Country:</TD>
- <TD>
- $if($not($country))
- $set(country,"US")
- $endif
-
- $if($equal($Preview,"1"))
- <INPUT TYPE="text" NAME="country" value="$country$" MAXLENGTH="15">
- $else
- $infile("countryselect.blendmac","country",$country)
- $endif
- </TD></TR>
- <TR>
- <TD>ZIP/ Postal Code
- <td colspan=3><INPUT TYPE="text" NAME="zip" value="$zip$"></TD>
- </TR>
- <TR>
- <TD>Special Instructions:</TD>
- <TD COLSPAN=3>
- <TEXTAREA NAME="instructions" rows=3 cols=48 wrap=physical>$instructions$</TEXTAREA>
- </TD>
- </TR>
- $if($ShippingInst)
- <TR>
- <TD colspan=4><p><FONT SIZE=+1>Company Shipping and Tax Information:</FONT><br></TD></TR>
- <TR><td></td><TD COLSPAN=3>
- $ShippingInst <p>
- </TD>
- </TR>
- $endif
- </table>
-
- $if($eq($CreditCardEnabled,1))
- <!-- make sure the user can support an SSL connection -->
- $if($or($and($not($Preview),$UserSSL),$equal($Preview,"1")))
- <FONT SIZE=+1>Credit Card Information</FONT><P>
- $if($equal($Preview,"1"))
- NOTE: This information will be gathered using a secure SSL connection once
- you have published your site.<p>
- $endif
- <TABLE CELLPADDING="2">
- <TR>
- <TD>
- Card Type:
- </TD>
- <TD>
- <SELECT NAME="creditcardtype">
- <INPUT TYPE="text" NAME="creditcardtype" SIZE="30">
- </TD>
- </TR>
- <TR>
- <TD>
- Card Holder Name:
- </TD>
- <TD>
- <INPUT TYPE="text" NAME="creditcardname" SIZE="40">
- </TD>
- </TR>
- <TR>
- <TD>
- Card Number:
- </TD>
- <TD>
- <INPUT TYPE="text" NAME="creditcardnumber" VALUE="0000-0000-0000-0000" SIZE="19">
- </TD>
- </TR>
- <TR>
- <TD>
- Expiration Date:
- </TD>
- <TD>
- Mn
- <INPUT TYPE="numeric" NAME="creditcardmonth" SIZE="2" maxlength="2">Yr
- <INPUT TYPE="numeric" NAME="creditcardyear" VALUE="96" SIZE="2" maxlength="2">
- </TD>
- </TR>
- </TABLE>
- $endif
- $endif
- <P>
- $if($equal($Preview,"1"))
- $infile("$CurDir$\po\lineitems.infile")
- $else
- $infile("po/lineitems.infile")
- $endif
- <input type=hidden name=FromPage value="Shipping">
-
- $if($not($MailConfirm))
- $set(MailConfirm,"text")
- $endif
- <p>Which format would you prefer for your email confirmation?
- <input type=radio name="MailConfirm" value="text" $if($equal($MailConfirm,"text")) checked $endif$> Text
- <input type=radio name="MailConfirm" value="html" $if($equal($MailConfirm,"html")) checked $endif$> HTML
- <input type=radio name="MailConfirm" value="none" $if($equal($MailConfirm,"none")) checked $endif$> None <p>
- <Center>
- $if($equal($Preview,"1"))
- $infile("$CurDir$\po\pobuttons.infile")
- $else
- $infile("po/pobuttons.infile")
- $endif
- </Center>
- <P>
- </CENTER>
- </FORM>
- <P>
-